package ThreadDome;

public class Dome10 {
    public static void main(String[] args) {
        Thread t1 = new Thread(()->{
            for (int i = 0; i < 5; i++) {
                System.out.println("t1线程运行中");
            }
        });
        Thread t2 = new Thread(()->{
            for (int i = 0; i < 5; i++) {
                System.out.println("t2线程运行中");
            }
        });
        t1.start();
        t2.start();
    }
}
